<table>
    <thead>
        <tr class="ui-widget-header">
            <th>Title</th>
        </tr>
    </thead>
    <tbody>
        <?php if (count($this->slideStreams) > 0) : ?>
        <?php foreach ($this->slideStreams as $s) : ?>
            <tr class="<?php $this->cycle('row1', 'row2'); ?>">
                <td>
                    <?php if ($this->acl['details']) : ?>
                        <a href="<?php echo $this->baseUrl(); ?>/slidestream/index/details?slideStreamId=<?php echo $s->slideStreamId; ?>"><?php echo $s->title; ?></a>
                    <?php else : ?>
                        <?php echo $s->title; ?>
                    <?php endif; ?>
                </td>
            </tr>
        <?php endforeach; ?>
        <?php else : ?>
            <tr>
                <td colspan="1">No slide streams found</td>
            </tr>
        <?php endif; ?>
    </tbody>
</table>